package cn.zhanghu;
/*
*
 */
import java.util.Scanner;

public class UseTraffic {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("现在的余额有多少？： ");
        //输入金额
        double d = sc.nextDouble();
        Person person=new Person("XiaoMing");
        System.out.println(person+" have " + d + "money");
        person.useTransport(d);

    }
}
